package com.atguigu.gulimall.order.to;

import com.atguigu.gulimall.order.entity.OrderEntity;
import com.atguigu.gulimall.order.entity.OrderItemEntity;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class OrderTo implements Serializable {
    /**
     * 订单信息
     */
    private OrderEntity order;
    private List<OrderItemEntity> orderItemEntity;
    /**
     * 0 成功还是失败
     */
    private Integer code;
}
